package com.example.dog.biz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class TestController {
    @GetMapping("test1")
    public String test1(ModelMap map){
        map.addAttribute("host","www.baidu.com");
        return "test";
    }
}
